//
//  ReplyTweetViewController.h
//  TuiTe
//
//  Created by 张 霄鹤 on 10-3-12.
//  Copyright 2010 xhzhang. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "Tweet.h"
#import "ComfrimViewController.h"

#define AC_TYPE_WRITE 0
#define AC_TYPE_REPLY 1
#define AC_TYPE_RT 2

@interface ReplyTweetViewController : UIViewController<CLLocationManagerDelegate> {
	Tweet *tweet;
	UITextView *txt;
	UILabel *lblNum;
	/**
	 * 动作类型，支持: Write Tweet(0), Reply(1), RT(2)
	 */
	NSInteger acType;
	CLLocationManager *cllManager;
	
	ComfrimViewController *ccv;
}

@property(nonatomic, retain) Tweet *tweet;
@property(nonatomic, retain) IBOutlet UITextView *txt;
@property(nonatomic, retain) IBOutlet UILabel *lblNum;

@property(nonatomic, retain) CLLocationManager *cllManager;
@property(nonatomic) NSInteger acType;

- (IBAction)sendTweet:(id)sender;

- (IBAction)genLocationURL:(id)sender;

- (void)sendStatus:(NSDictionary *)args;

- (void)sendRT:(NSDictionary *)args;

@end
